<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./9466云专题 iconfont/font/iconfont.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .box {
            width: 100%;
            /* margin: 0 auto; */
            height: 500px;
            /* background-color: pink; */
        }

        header {
            width: 100%;
            height: 80px;
            background-color: rgb(44, 193, 252);
            line-height: 80px;
            color: rgb(255, 244, 244);

        }

        header .left {
            float: left;
            margin-left: 50px;
        }

        header .right {
            float: right;
            margin-right: 50px;
        }

        footer {
            display: flex;
        }

        nav {
            line-height: 50px;
            width: 150px;
            color: rgb(255, 244, 244);
            background-color: rgb(44, 193, 252);
            height: 640px;
        }

        nav .line {
            transition: all 0.5s;
            text-align: center;
        }
        nav .active{
            background-color: rgb(6, 138, 190);

        }

        nav .line:hover {
            background-color: rgb(6, 138, 190);
        }

        .main {
            flex: 1;
            margin-left: 20px;
            margin-top: 10px;
        }

        .main .search {
            margin-top: 30px;
            margin-left: 20px;

        }

        .main .search input {
            width: 200px;
            height: 30px;
            border-radius: 15px;
            border: 1px solid gray;
            padding-left: 20px;
            padding-right: 10px;
            outline: none;

        }

        .main .search button {
            width: 50px;
            height: 30px;
            border: none;
            border-radius: 5px;
            background-color: rgb(44, 193, 252);
            color: rgb(255, 244, 244);
            margin-left: 10px;
        }

        .main>button {
            width: 100px;
            height: 30px;
            background-color: rgb(44, 193, 252);
            border: none;
            border-radius: 5px;
            color: rgb(255, 244, 244);
            margin-top: 20px;
            margin-left: 20px;

        }

        .main .data {

            margin-top: 20px;
            margin-left: 20px;
            /* background-color: coral; */

        }

        .main .data thead {
            font-weight: 800;
        }

        .main .data tr {
            width: 800px;
            height: 35px;
            /* background-color: chartreuse; */

        }
        td{
            /* padding: 0 20px; */
            text-align: center;
            transition: all 0.5s;
            border-bottom: 2px solid gray;
            height: 40px;
        }
        .main .data tr td:nth-child(1) {
            width: 250px;
            text-align: left;
        }
        .main .data tr td:nth-child(2) {
            width: 100px;
        }
        .main .data tr td:nth-child(3) {
            width: 150px;
        }
        .main .data tr td:nth-child(4) {
            width: 100px;
        }
        .main .data tr td:nth-child(5) {
            width: 100px;
        }
        .main .data tr td:nth-child(6) {
            width: 100px;
        }
        .main .data tr td:nth-child(7) {
            width: 100px;
        }
        .main .data tr td .state{
            background-color: rgb(0, 255, 0);
            padding:2px 5px;
            border-radius: 5px;
            color: white;
        }
        .main .data tr td .staten{
            background-color: rgb(225, 0, 0);
            padding:2px 5px;
            border-radius: 5px;
            color: white;
        }
        tr{
            transition: all 0.5s;
        }
        tr:hover{
            background-color: aqua;
        }
        table{
            border-collapse:collapse;
        }
    </style>
</head>

<body>
    <div class="box">
        <header>
            <div class="left">后台管理系统</div>
            <div class="right"><span class="iconfont icon-yonghu"></span> (龙猫)后台管理系统</div>
        </header>
        <footer>
            <nav>
                <div class="line"><span class="iconfont icon-home"></span> 首页</div>
                <div class="line"><span class="iconfont icon-zhuantiguanli"></span> 专题</div>
                <div class="line active"><span class="iconfont icon-yonhu"></span> 用户</div>
                <div class="line"><span class="iconfont icon-shezhi"></span> 设置</div>
                <div class="line"><span class="iconfont icon-xitongrizhi"></span> 日志</div>
            </nav>
            <div class="main">
                <div class="search">
                    <input type="search" placeholder="搜索用户">
                    <button>搜索</button>
                </div>
                <button><span class="iconfont icon-tianjia"></span> 添加用户</button>
                <div class="data">
                    <table>
                        <thead>
                            <tr>
                                <td>邮箱(账户)</td>
                                <td>姓名</td>
                                <td>电话</td>
                                <td>所属组</td>
                                <td>管理员</td>
                                <td>状态</td>
                                <td>操作</td>
                            </tr>
                            
                        </thead>
                        <tbody>
                            
                            
                        </tbody>
                    </table>
                </div>
                <button class="prev" style="margin-left: 300px;">上一页</button>
                <button class="next">下一页</button>
            </div>
            

        </footer>

    </div>
</body>

</html>
<script src="./axios.min.js"></script>
<script src="./index.js"></script>